{% extends "index.html" %}
{% block title %}词云生成{% endblock %}
{% block side %}
    <div class="container">
        <div class="row">
            <div class="col-md-6">
                {% load static %}
		<img src={% static img %} class="img-responsive center-block">
            </div>
            <div class="col-md-6">
                <form method="post">
                    {% csrf_token %}
                    <label for="longStrInput"><h1>请输入文本</h1></label>
                    <textarea class="form-control" name="longstr" rows="16" id="longStrInput" required></textarea>
                    <div class="radio">
                        <div class="col-md-offset-0 col-md-3">
                            <label>
                                <input type="radio" name="options" id="optionsRadios1" value="1" checked>
                                中文词云
                            </label>
                        </div>
                    </div>
                    <div class="radio">
                        <div class="col-md-offset-0 col-md-3">
                            <label>
                                <input type="radio" name="options" id="optionsRadios2" value="2">
                                英文词云
                            </label>
                        </div>
                    </div>
                    <button type="submit" class="btn btn-default">生成</button>
                </form>
            </div>
        </div>
    </div>
{% endblock %}
